﻿@model Janus.Mes.VO.SysConfigVO

@{
    Layout = null;
    var i = 1;
    ViewBag.ViewTitle = "新增-检验方案";
}
<div class="pageContent">
    <form method="post" action="System/SysConfig/create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="56">
            <input id="hidIsCreate" name="hidIsCreate" type="hidden" value="@ViewBag.IsCreate" />
            @Html.HiddenFor(model => model.Id)
            <div>
                <p>
                    <label>
                        料号：
                    </label>
                    <input class="required textInput" name="org1.orgNum" type="text" postfield="keyword" suggestfields="orgNum,orgName," suggesturl="Quality/SampleProcess/Select" lookupgroup="org1" autocomplete="off">
                    <a class="btnLook" rel="Select" href="Quality/InspectionScheme/SelectItem" lookupgroup="org1">选择料号</a>
                </p>
                <p>
                    <label>
                        产品名称：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgName" value="">
                </p>
                <p>
                    <label>
                        产品规格：
                    </label>
                    <input class="readonly testInput" id="inputOrg3" readonly="readonly" name="org1.orgSpec" value="">
                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgSpec" })*@
                </p>
                <p>
                    <label>
                        单位：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                </p>
                <p>
                    <label>
                        采样过程：
                    </label>
                    <input class="required textInput" name="org1.orgNum" type="text" postfield="keyword" suggestfields="orgNum,orgName," suggesturl="Quality/SampleProcess/Select" lookupgroup="org1" autocomplete="off">
                    <a class="btnLook" rel="Select" href="Quality/InspectionScheme/SelectProcess" lookupgroup="org1">采样过程</a>
                </p>
                <p>
                    <label>
                        采样名称：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgName" value="">
                </p>
                <p style="width:100%;height:50px">
                    <label>
                        备注：
                    </label>
                    @Html.TextAreaFor(sysConfig => sysConfig.Title,new { @style = "width:50%;height:40px" })
                </p>
                <fieldset>
                    <legend>采样过程参数</legend>
                    <p>
                        <label>
                            采样类型：
                        </label>
                        <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgName" value="">
                    </p>
                    <p>
                        <label>
                            自定义抽样表：
                        </label>
                        <input class="readonly testInput" id="inputOrg3" readonly="readonly" name="org1.orgSpec" value="">
                        @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgSpec" })*@
                    </p>
                    <p>
                        <label>
                            检验水平：
                        </label>
                        <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                        @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                    </p>
                    <p>
                        <label>
                            严格程度：
                        </label>
                        <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                        @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                    </p>
                    <p>
                        <label>
                            AQL：
                        </label>
                        <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                        @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                    </p>
                    <p>
                        <label>
                            百分比(%)：
                        </label>
                        <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                        @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                    </p>
                </fieldset>

            </div>

            @*<div class="detail" id="detail0">
                <div class="MyPanel">
                    <b class="b1"></b><b class="b2 d1"></b><b class="b3 d1"></b><b class="b4 d1"></b>
                    <div class="b d1 k">
                        <div class="Title">检验特性</div>
                        <div>
                            <a class="button" rel="dialogSelect" href="Quality/InspectionScheme/AddInspScheme" target="dialog" width="836" height="500"><span>添加检验特性</span></a>

                            <table class="treetable list" style="height:auto;width:100%">
                                <thead>
                                    <tr>
                                        <th>序号</th>
                                        <th>检验特性</th>
                                        <th>标准值</th>
                                        <th>上公差</th>
                                        <th>下公差</th>
                                        <th>上限值</th>
                                        <th>下限值</th>
                                        <th>小数位数</th>
                                        <th>单位</th>
                                        <th>检验方法</th>
                                        <th>检验设备</th>
                                        <th>检验地点</th>
                                        <th>检验环境</th>
                                        <th>检验方式</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>1</td>
                                        <td>有无缺胶</td>
                                        <td>结构检验(I)</td>
                                        <td>是</td>
                                        <td>是</td>
                                        <td>定性</td>
                                        <td>2.0</td>
                                        <td>2.5(I)</td>
                                        <td>-0.2</td>
                                        <td></td>
                                        <td></td>
                                        <td>目视检测</td>
                                        <td>三次元影像仪(I)</td>

                                        <td>0</td>
                                        <td><a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">删除</a>&nbsp;&nbsp;<a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">修改</a></td>
                                    </tr>
                                    <tr>
                                        <td>2</td>
                                        <td>盐雾测试</td>
                                        <td>信赖性测试(I)</td>
                                        <td>是</td>
                                        <td>否</td>
                                        <td>定量</td>
                                        <td>2.0</td>
                                        <td>2.5(I)</td>
                                        <td>-0.2</td>
                                        <td></td>
                                        <td></td>
                                        <td>仪量测量</td>
                                        <td>三次元影像仪(I)</td>

                                        <td>0</td>
                                        <td><a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">删除</a>&nbsp;&nbsp;<a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">修改</a></td>
                                    </tr>
                                    <tr>
                                        <td>3</td>
                                        <td>有无缺胶</td>
                                        <td>结构检验(I)</td>
                                        <td>是</td>
                                        <td>是</td>
                                        <td>定性</td>
                                        <td>2.0</td>
                                        <td>2.5(I)</td>
                                        <td>-0.2</td>
                                        <td></td>
                                        <td></td>
                                        <td>目视检测</td>
                                        <td>三次元影像仪(I)</td>

                                        <td>0</td>
                                        <td><a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">删除</a>&nbsp;&nbsp;<a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">修改</a></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <b class="b4b d1"></b><b class="b3b d1"></b><b class="b2b d1"></b><b class="b1b"></b>
                </div>
                <div class="MyPanel">
                    <b class="b1"></b><b class="b2 d1"></b><b class="b3 d1"></b><b class="b4 d1"></b>
                    <div class="b d1 k">
                        <div class="Title">参考文件</div>
                        <div>
                            <a class="button" rel="dialogSelect" href="Quality/InspectionScheme/Select" target="dialog"><span>添加文件</span></a>

                            <table class="treetable list" style="height:auto;width:100%">
                                <thead>
                                    <tr>
                                        <th>序号</th>
                                        <th>文件编码</th>
                                        <th>文件名称</th>
                                        <th>文件类型</th>
                                        <th>文件描述</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td>1</td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td><a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">删除</a>&nbsp;&nbsp;<a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">修改</a></td>
                                    </tr>
                                    <tr>
                                        <td>2</td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td></td>
                                        <td><a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">删除</a>&nbsp;&nbsp;<a href="javascript:void(0);" class="btn btn-primary btn-sm" id="btnSearch">修改</a></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <b class="b4b d1"></b><b class="b3b d1"></b><b class="b2b d1"></b><b class="b1b"></b>
                </div>
            </div>*@

            @Html.Partial("Operation", Model)
        </div>

        @Html.Partial("FormButtonBar")
    </form>
</div>
